package cn.vihub.mapper;

import cn.vihub.pojo.ShopGoods;
import cn.vihub.vo.ShopGoodsVo;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 秋晚
 * @Date:  2025/7/29 20:15
 * @Description: 
 **/

public interface ShopGoodsMapper extends BaseMapper<ShopGoods> {
    IPage<ShopGoodsVo> selectGoodsPage(IPage<ShopGoodsVo> page,@Param(Constants.WRAPPER) LambdaQueryWrapper<ShopGoodsVo> lambdaQueryWrapper);

    ShopGoodsVo selectByGoodsId(Integer id);
}